package com.mycompany.myapp.service;

import com.mycompany.myapp.domain.Stewarder;

import java.util.List;

/**
 * Create by wys on 2018/7/24
 */
public interface StewarderServiceInterface {

    /**
     * 获取全部的维护员
     * @return
     */
    public List<Stewarder> getAllSteward();

    /**
     * 获取空闲的维护员
     * @return
     */
    public List<Stewarder> getAllFreeSteward();

    /**
     * 维护员维护好车辆的情况
     * 由维护员提交维护情况true或false
     * true发放电动车出去
     * @param bicycleID
     * @param stewarderID
     * @param stewardState 维护情况
     * @return
     */
    public String maintenanceBicycleSituation(String bicycleID, String stewarderID,String stewardState);

    /**
     * 获取维护员在维护的电动车
     * @param stewarderID
     * @return
     */
    public String getStewarderForElecBicycle(String  stewarderID);


}
